<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="http://localhost:8080/web04/req6" method="post">
    <input type="text" name="username" > <br>
    <input type="text" name="password" > <br>
    <input type="checkbox" name="hobby" value="yy">游泳
    <input type="checkbox" name="hobby" value="ps">爬山<br>
    <input type="submit" value="提交">
</form>
</body>
</html>